<div class="widget grid12">
    <div class="whead"><h6>INSERTAR NUEVO PRODUCTO </h6><div class="clear"></div></div>
    <?php echo $this->Form->create('Producto', array('id' => "validate")); ?>
        <div class="formRow">
    <div class="formRow">
        <div class="grid3"><label>Inserte nombre:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->text('nombre', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate'));?>
        </div>
        

        <div class="grid3"><label>Peso Nominal:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->text('pesonominal', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate')); ?>
        </div>
        <div class="clear"></div>
    </div>
    
    <div class="formRow">
        <div class="grid3"><label>Peso Brutol :<span class="req">*</span></label></div>
        <div class="grid3">
            <td><?php echo $this->Form->text('pesobruto', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate')); ?></td>
        </div>

        <div class="grid3"><label>Alto:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->text('alto', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate')); ?>
        </div>
        <div class="clear"></div>
    </div>
    <div class="formRow">
        <div class="grid3"><label>Ancho :<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->text('ancho', array('class'=>'validate[required] input-text', 'size'=>'40', 'id'=>'validate')); ?>
        </div>

        <div class="grid3"><label>Origen:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->text('origen', array('size'=>'4','class'=>"input-text")); ?>
        </div>
        <div class="clear"></div>
    </div>  
    <div class="formRow">
    <div class="grid3"><label>TIpo:<span class="req">*</span></label></div>
        <div class="grid3">
            <?php echo $this->Form->select('tipo_id', $dval, array('class'=>'validate[required] input-text', 'size'=>'0', 'id'=>'validate')); ?>
        </div>
    </div>            
        </div>
</div>
<div class="actions-right">
<?php $options = array('label' => 'Insertar Producto','class' => 'buttonS bGreen','id' => 'btEnvia');echo $this->Form->end($options);?> 
        <p></p>
        <?php echo $this->Html->link("Volver &raquo;", array('controller'=>'Facturas', 'action'=>'index'), array('class'=>'buttonS bLightBlue', 'escape' => FALSE)); ?>
</div>


